let text = "This is a test. Testing is important. Test the function.";
const regex = /\s+/g;  // 匹配一个或多个空白字符
const result = text.split(regex);
console.log(result);
